junit_tests(
  dependencies=[
    '3rdparty/jvm/asm',
    '3rdparty/jvm/cglib',
    '3rdparty/jvm/junit',
    '3rdparty/jvm/org/apache/thrift:libthrift-0.5.0',
    '3rdparty/jvm/org/hamcrest:hamcrest-core',
    '3rdparty/jvm/org/jmock',
    '3rdparty/jvm/org/mockito:mockito-all',
    '3rdparty/jvm/org/objenesis',
    '3rdparty/jvm/org/scala-lang/modules:scala-parser-combinators',
    '3rdparty/jvm/org/scalatest',
    'finagle/finagle-thrift/src/main/java:java',
    'scrooge/scrooge-core',
    'scrooge/scrooge-generator',
    'scrooge/scrooge-generator-tests/src/test/resources:resources',
    'scrooge/scrooge-generator-tests/src/test/thrift/airport:thrift-android',
    'scrooge/scrooge-generator-tests/src/test/thrift/airport:thrift-namespace-android',
    'scrooge/scrooge-generator-tests/src/test/thrift/airport:thrift-namespace-scala',
    'scrooge/scrooge-generator-tests/src/test/thrift/airport:thrift-scala',
    'scrooge/scrooge-generator-tests/src/test/thrift/android_integration:thrift-android',
    'scrooge/scrooge-generator-tests/src/test/thrift/defaults:thrift-android',
    'scrooge/scrooge-generator-tests/src/test/thrift/defaults:thrift-java',
    'scrooge/scrooge-generator-tests/src/test/thrift/defaults:thrift-scala',
    'scrooge/scrooge-generator-tests/src/test/thrift/integration:thrift-android',
    'scrooge/scrooge-generator-tests/src/test/thrift/integration:thrift-java',
    'scrooge/scrooge-generator-tests/src/test/thrift/integration:thrift-scala',
    'scrooge/scrooge-generator-tests/src/test/thrift/namespace:thrift-android',
    'scrooge/scrooge-generator-tests/src/test/thrift/namespace:thrift-scala',
    'scrooge/scrooge-generator-tests/src/test/thrift/relative:thrift-android',
    'scrooge/scrooge-generator-tests/src/test/thrift/relative:thrift-scala',
    'scrooge/scrooge-generator-tests/src/test/thrift/scala:thrift-java',
    'scrooge/scrooge-generator-tests/src/test/thrift/scala:thrift-scala',
    'scrooge/scrooge-generator-tests/src/test/thrift/standalone:thrift-android',
    'scrooge/scrooge-generator-tests/src/test/thrift/standalone:thrift-java',
    'scrooge/scrooge-generator-tests/src/test/thrift/standalone:thrift-scala',
    'scrooge/scrooge-generator-tests/src/test/thrift:constant-sets-thrift-android',
    'scrooge/scrooge-generator-tests/src/test/thrift:constant-sets-thrift-scala',
    'scrooge/scrooge-generator-tests/src/test/thrift:thrift',
    'util/util-core/src/main/scala:scala',
  ],
  fatal_warnings=True,
  sources=rglobs('*.scala'),
)
